package com.dinzeer.slashblade_useful_addon.events;

import com.dinzeer.slashblade_useful_addon.config.KillCountConfig;
import com.dinzeer.slashblade_useful_addon.config.ProudSoulConfig;
import mods.flammpfeil.slashblade.event.SlashBladeEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;

@Mod.EventBusSubscriber
public class StateAddEvent {
    @SubscribeEvent
    public static void OnGetProudSoul(SlashBladeEvent.AddProudSoulEvent event) {
        event.setNewCount((int) (event.getOriginCount()* ProudSoulConfig.ProudSoulExtra.get()));
    }
    @SubscribeEvent
    public static void OnGetKillCount(SlashBladeEvent.AddKillCountEvent event) {
        event.setNewCount((int) (event.getOriginCount()* KillCountConfig.KillCountExtra.get()));
    }
}
